﻿using System.Collections;
using System.Collections.Generic;
using INTEX.DataBase.Tools;
using ReflectionStudio.Core;
using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.IO;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{

    public partial class ITXEXRPT
    {
        public void YGRTemplate()
        {

            switch (DocType)
            {
                case "YGRXJSH":
                    strExcelFile = app.company + "\\YGRREPORT.xls";
                    break;
                case "YGRQCVVT":
                case "YGRQCVV":
                case "YGRQCXS":
                case "YGRQCBX":
                case "YGRQCYM":
                case "YGRQCSM":
                    strExcelFile = app.company + "\\YGRQC.xls";
                    break;

                case "YGRABFB":
                case "YGRABFBWC":
                case "YGRAB50GB20":
                    strExcelFile = app.company + "\\YGRABDOC.xls";
                    break;
                case "YGRGBDAILY":
                    strExcelFile = app.company + "\\YGRSTOCK.xls";
                    break;
                case "YGRGB14":
                    strExcelFile = app.company + "\\YGRGBMOV.xls";
                    break;
            }
        }

    }
}
